package cn.itsource.mapper.system;






import cn.itsource.system.domain.Permission;
import cn.itsource.system.query.PermissionQuery;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface PermissionMapper {
    List<Permission> selectAll();

    void delete(Integer id);

    void update(Permission permission);

    void add(Permission permission);

    void deleteMore(Long[] ids);

    List <Permission> queryPermission(PermissionQuery permissionQuery);


    Permission selectBySn(String permissionSn);
}

